package cn.yx.framework.context;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/3/21.
 */
@Scope("prototype")
@Component
public class UserContext implements Serializable {
    private String id;
    private String username;
    private String password;
    private String avatar;
    private String name;
    // add by wangwei 2017-03-27
    private String orgid;
    private List<String> menupaths;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrgid() {
        return orgid;
    }

    public void setOrgid(String orgid) {
        this.orgid = orgid;
    }

    public List<String> getMenupaths() {
        return menupaths;
    }

    public void setMenupaths(List<String> menupaths) {
        this.menupaths = menupaths;
    }
}
